//! @author Adam Emil Skoog
//! @date   2011-12-17

#ifndef MEHDI_IMAGE_H_
	#define MEHDI_IMAGE_H_
	#include <SFML/Graphics.hpp>

	namespace mehdi
	 {
		class Image : public sf::Sprite
		 {
			public:
				explicit Image(const std::string &);
				Image &setImage(sf::Image *const);
				sf::Image *const getImage();
				Image &setAutomaticSmoothing(const bool &set = true);
				const bool &hasAutomaticSmoothing() const;

			private:
				sf::Image *image;
				bool automaticSmoothing;
				void Render(sf::RenderTarget &) const;
		 };
	 }
#endif
